<h1>Listing devicefeatures</h1>

<table>
  <tr>
    <th>Device</th>
    <th>Feature</th>
    <th>Qty</th>
  </tr>

<% for devicefeature in @devicefeatures %>
  <tr>
    <td><%=h devicefeature.device_id %></td>
    <td><%=h devicefeature.feature_id %></td>
    <td><%=h devicefeature.qty %></td>
    <td><%= link_to 'Show', devicefeature %></td>
    <td><%= link_to 'Edit', edit_devicefeature_path(devicefeature) %></td>
    <td><%= link_to 'Destroy', devicefeature, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New devicefeature', new_devicefeature_path %>
